PDF4Java Reference Documentation
com.o2sol.pdf4java.core.io Package / FileStream Class
Methods


In This Topic
    FileStream Class Members
    In This Topic

    The following tables list the members exposed by FileStream.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Methods
     NameDescription
    Public MethodReturns this stream as a Java java.io.InputStream. (Inherited from com.o2sol.pdf4java.core.io.Stream)
    Public MethodReturns this stream as a Java java.io.OutputStream. (Inherited from com.o2sol.pdf4java.core.io.Stream)
    Public MethodCloses the stream.  
    Public MethodThis method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.io.Stream)
    Public Methodstatic (Shared in Visual Basic)Creates a new file for writing  
    Public MethodClears all buffers for this stream and causes any buffered data to be written to the underlying device.  
    Public MethodGets the length in bytes of the stream.  
    Public MethodGets the position within the current stream.  
    Public Methodstatic (Shared in Visual Basic)Opens the specifies file for reading.  
    Public Methodstatic (Shared in Visual Basic)Opens the specifies file for writing.  
    Public MethodReads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.  
    Public Methodstatic (Shared in Visual Basic)Reads the content of the given file and returns it as a byte array..  
    Public MethodReads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.  
    Public MethodSets the position within the current stream.  
    Public MethodSets the length of the current stream.  
    Public MethodSets the position within the current stream.  
    Public MethodWrites a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.  
    Public MethodWrites a byte to the current position in the stream and advances the position within the stream by one byte.  
    Top
    See Also